using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Framework.Library;
using Framework.Library.Utilities;

namespace Framework.Module.UpDownLoad.Library
{
    public class Define
    {
        private const string CONFIG_FILENAME = "/Modules/Framework.Module.UpDownLoad/UpDownLoad.config";
        public static string UploadPath
        {
            get { return AppEnv.GetAppSetting("UploadPath", CONFIG_FILENAME); }
        }

        public static int MaxSize
        {
            get { return ConvertUtility.ToInt32(AppEnv.GetAppSetting("MaxSize", CONFIG_FILENAME)); }
        }
    }
}
